﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace JqlEditor
{
    internal class JqlChessmanSwap
    {
        public ChessmanSwapType SwapType { get; set; }
        public Point SrcLoc { get; set; }
        public Point DstLoc { get; set; }

        public JqlChessmanSwap()
        {
            SrcLoc = Point.Empty;
            DstLoc = Point.Empty;
            SwapType = ChessmanSwapType.FlipSwap;
        }
        public JqlChessmanSwap(Point src, Point dst)
        {
            SrcLoc = src;
            DstLoc = dst;
            SwapType = ChessmanSwapType.SingleSwap;
        }
    }
}
